package swind.web.service;

import java.text.ParseException;
import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import swind.web.exception.ExcelEmptyException;
import swind.web.exception.ExcelMatchException;
import swind.web.exception.UserExistenceException;
import swind.web.vo.ErrorMessageResult;
import swind.web.vo.RemindVo;
import swind.web.vo.SimpleUserVo;
import swind.web.vo.SubjectVo;
import swind.web.vo.TeaGetScoreVo;
import swind.web.vo.TeaGetStudentVo;

public interface ITeacherService {

	List<SubjectVo> getAllSubject();

	SubjectVo getSubjectById(int subjectId);

	boolean addSubject(SubjectVo subjectVo);

	boolean deleteSubject(int subjectId);

	boolean updateSubject(SubjectVo subjectVo);

	List<SimpleUserVo> findSimpleUserBySubjectId(int subjectId);

	void setSubjectDelete(int subjectId, String[] notCheckedList);

	void setSubjectAdd(int subjectId, String[] checkedList);

	boolean setSubject(int subjectId, String[] checkedList, String[] notCheckedList);

	List<TeaGetScoreVo> queryScoreByData(String[] queryData) throws ParseException;

	RemindVo getQuertRemind(String remindValue);

	List<TeaGetStudentVo> getAllStudent();

	void addStudent(TeaGetStudentVo getStudentVo) throws UserExistenceException, ParseException;

	TeaGetStudentVo getTeaStuVoById(String sutdentId);

	void updateStudent(TeaGetStudentVo getStudentVo);

	void fileReceive(MultipartFile[] fileSelect, ErrorMessageResult errorMessageResult);

	List<TeaGetStudentVo> listStudents(Workbook book)throws ExcelMatchException, NoSuchFieldException, IllegalAccessException, ExcelEmptyException;

	void deleteStudent(String stuId);


	
	
}
